package com.itholmes.ServletContext;

import java.util.HashMap;
import java.util.Map;

public class ServletContextImpl implements ServletContext{

	//通过web.xml文件解析出来的内容放到这里。
	private Map<String,Object> context_attribute = new HashMap<String,Object>();
	
	@Override
	public Object getAttribute(String key) {
		return context_attribute.get(key);
	}

	@Override
	public void setAttribute(String key, Object value) {
		context_attribute.put(key, value);
	}

}
